#ifndef _MAIN_MENU_H_
#define _MAIN_MENU_H_

#include "menu.h"
#include "button.h"
#include "edit.h"
#include "bitmap_button.h"

class MainMenu:public Menu
{
public:
    MainMenu(HWND parent=0);
    ~MainMenu();
    
    Button *pButton1;
    Button *pButton2;
    Edit *pEditName;
    BitmapButton *pBitmapButton1;
    BitmapButton *pBitmapButton2;
    BitmapButton *pBitmapButton3;
    BitmapButton *pBitmapButton4;
    BitmapButton *pBitmapButton5;
    BitmapButton *pBitmapButton6;
    
    int button1Down();
    int button2Down();
    
    
private:
    void setupWidgets();
    void cleanWidgets();
    void setupGeometry();
    void draw(Rect *r);
    int eventHandler(HWND hWnd, int iMsg, WPARAM wParam, LPARAM lParam);
    
};


#endif

